package com.example.wm.SanWar.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@TableName("帖子")
public class NoteEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("帖主id")
    private Integer userid;
    @TableField("帖主名")
    private String name;
    @TableField("头像")
    private String imgurlhead;
    @TableField("浏览量")
    private Integer browsenum;
    @TableField("点赞数量")
    private Integer thumbupnum;
    @TableField("评论数量")
    private Integer commnum;
    @TableField("转发数量")
    private Integer transmitnum;
    @TableField("资源数量")
    private Integer resoucenum;
    @TableField("资源图片数量")
    private Integer resouceimgnum;
    @TableField("标题")
    private String text;
    @TableField("类型")
    private String type;
    @TableField("发帖时间")
    private String createtime;

}
